package org.jeecg.eqp.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 设备与工装、夹具配置
 * @Author: LiCY
 * @Date:   2024-09-02
 * @Version: V1.0
 */
@Data
@TableName("eqp_eqpchk_cfg")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="eqp_eqpchk_cfg对象", description="设备与工装、夹具配置")
public class EqpEqpchkCfg implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@Excel(name = "主键ID", width = 15)
    @ApiModelProperty(value = "主键ID")
    @TableId
    private Integer recId;
	/**产线*/
	@Excel(name = "产线", width = 15)
    @ApiModelProperty(value = "产线")
    private String line;
	/**产品*/
	@Excel(name = "产品", width = 15)
    @ApiModelProperty(value = "产品")
    private String partno;
	/**工装、夹具编号*/
	@Excel(name = "工装、夹具编号", width = 15)
    @ApiModelProperty(value = "工装、夹具编号")
    private String serialno;
	/**检验值*/
	@Excel(name = "检验值", width = 15)
    @ApiModelProperty(value = "检验值")
    private String chkvalue;
	/**检验类型*/
	@Excel(name = "检验类型", width = 15)
    @ApiModelProperty(value = "检验类型")
    @Dict(dicCode = "eqpCHKTYP")
    private String chktyp;
	/**触发类型*/
	@Excel(name = "触发类型", width = 15)
    @ApiModelProperty(value = "触发类型")
    @Dict(dicCode = "eqpTRIGTYP")
    private String trigtyp;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private String status;
	/**读PLC地址*/
	@Excel(name = "读PLC地址", width = 15)
    @ApiModelProperty(value = "读PLC地址")
    private String raddress;
	/**警戒值*/
	@Excel(name = "警戒值", width = 15)
    @ApiModelProperty(value = "警戒值")
    private BigDecimal warninglimit;
	/**限制值*/
	@Excel(name = "限制值", width = 15)
    @ApiModelProperty(value = "限制值")
    private BigDecimal blocklimit;
	/**写PLC地址*/
	@Excel(name = "写PLC地址", width = 15)
    @ApiModelProperty(value = "写PLC地址")
    private String waddress;
	/**触发业务*/
	@Excel(name = "触发业务", width = 15)
    @ApiModelProperty(value = "触发业务")
    @Dict(dicCode = "eqpTRIGBUS")
    private String trigbus;
	/**是否启用*/
	@Excel(name = "是否启用", width = 15)
    @ApiModelProperty(value = "是否启用")
    private String enable;
	/**更新时间*/
	@Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date ctime;
}
